#coding=utf-8
from google.appengine.ext import db

class Thing(db.Model):
    c = 0
    name = db.StringProperty(required=True)
    value = db.IntegerProperty()
    at = db.DateProperty()
    
    def put(self):
        Thing.c += 1
        return super(Thing, self).put()
